package com.atguigu.gmall.item.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@Slf4j
public class ItemDegradeFeignClient implements ItemFeignClient{
    @Override
    public Map<String, Object> getItemAllData(Long skuId) {
        log.error("该服务不可用了,你龙马!service-item");
        return null;
    }
}
